package com.hankol.newretail.callback

/**
 * @author: 关忆北、
 * @date: 2022/8/5
 * @Des：
 */
interface OnShopCartCallBack {
    /**
     * 计算价格
     */
    fun onComputePriceCall()

    /**
     * @param groupPos 第几个适配器
     * @param childPos 第 groupPos 的第几条
     */
    fun delChildShop(groupPos: Int, childPos: Int)

    /**
     * 字条目选中按钮被惦记
     */
    fun onChildShopSelect(groupPos: Int, childPos: Int)

    /**
     * 店铺选中按钮被惦记
     * @param  isSelected = true 全部选中
     */
    fun onGroupSelect(isSelected: Boolean, position: Int)

    /**
     * 购物车-1
     */
    fun onShopReduce(groupPos: Int, childPos: Int)

    /**
     * 购物车+1
     */
    fun onShopPlus(groupPos: Int, childPos: Int)

}